'''
Created on Jul 6, 2012

@author: peng
'''
import sys
import os

if __name__ == '__main__':
    if len(sys.argv) != 2:
        print 'error parameters'
        exit(1)
    path = sys.argv[1]
    for r, d, f in os.walk(path):
        for files in f:
            print os.path.join(r, files)
